﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;

namespace Entities
{
    public class KhachHang
    {
        [MapField("MaKH"), PrimaryKey]
        public string MaKH { get; set; }
        public string TenKH { get; set; }
        public string DiaChi { get; set; }
        public bool GioiTinh { get; set; }
        public string SoDT { get; set; }
        public string CMND { get; set; }
        public DateTime NgaySinh { get; set; }
        public KhachHang() { }
        public KhachHang(string ma, string ten, string diachi, bool gt, string sdt, string cmnd, DateTime ngaysinh)
        {
            MaKH = ma;
            TenKH = ten;
            DiaChi = diachi;
            GioiTinh = gt;
            SoDT = sdt;
            CMND = cmnd;
            NgaySinh = ngaysinh;
        }
    }
}
